{% extends '../common/common.html' %}
{% block main %}

<div class="admin-box">
    <div class="crumbs-nav">
        <a href="/admin">管理首页</a> &gt; <a href="category.html">分类列表</a> &gt; <span>修改分类</span>
    </div>
    <h2 class="admin-title">添加分类</h2>
    <div class="main-form">
        <form role="form" method="post">
            <div class="form-li">
                <label for="name">分类名称：</label>
                <div class="form-box">
                    <input type="hidden" value="{{ category.id }}" name="id">
                    <input type="text" placeholder="请输入分类名称" value="{{ category.name }}" id="name" name="name">
                </div>
            </div>
            <div class="form-li">
                <label for="name"></label>
                <div class="form-box">
                    <input type="submit" value="提交">
                    <p>{{ massage }}</p>
                </div>
            </div>

        </form>
    </div>

</div>
{% endblock %}